package com.zzzy.cont.vo.contract.attachment;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

@Data
public class ConAttachmentAddReq {

    @Schema(description = "合同ID")
    @NotNull(message = "合同ID不能为空")
    private Long conId;

    @Schema(description = "上传的附件")
    @NotNull(message = "附件不能为空")
    private MultipartFile file;
}
